package com.c2001.springboot.enums;

import lombok.Getter;

/**
 * Copyright (C), 2024, renwt
 * Author: renwentao
 * Date: 2024/5/16 23:13
 * FileName: operateTypeEnum
 * Description:
 */
@Getter
public enum OperateTypeEnum {

    login(1, "登陆"),
    jieshu(2, "借书"),
    huanshu(3, "还书"),
    buy(4, "购买"),
    ;

    private int code;
    private String desc;

    OperateTypeEnum() {
    }

    OperateTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
